package com.example.xymarket.po;

import android.graphics.drawable.Drawable;

public class UserInfo {

    private   String name="请登录";

    private   Integer id;

    private   String phone;

    private   String token;

    private   String avatar;

    public Drawable getAvatarImage() {
        return avatarImage;
    }

    public void setAvatarImage(Drawable avatarImage) {
        this.avatarImage = avatarImage;
    }

    private Drawable avatarImage;

    public UserInfo(String name, Integer id, String phone, String token, String avatar) {
        this.name = name;
        this.id = id;
        this.phone = phone;
        this.token = token;
        this.avatar = avatar;
    }

    public UserInfo() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}